package org.fanshe;

public class Person {
	private int age;
	public String name;
	public int weight;
	
	public Person(){
		
	}
	public Person(int age,String name,int weight){
		this.age = age;
		this.name = name;
		this.weight = weight;
	}
	Person(int age,String name){
		this.age = age;
		this.name = name;
	}
	
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	public void eat(String name){
		System.out.println("吃的是什么呢"+name);
	}
	private void sieat(){
		System.out.println("Person的私有方法");
	}
}
